package com.zhss.ddd.lottery.draw.activity.dataobject;

/**
 * 奖品
 */
public class PrizeDO {

    /**
     * 标识符
     */
    private Long id;
    /**
     * 奖品类型：优惠券、虚拟金币、实物商品
     */
    private String prizeType;
    /**
     * 奖品细节，JSON格式，优惠券（面额，使用范围），虚拟金币（金币数量），实物商品（商品id）
     */
    private String prizeDetail;
    /**
     * 抽中的概率
     */
    private Double probability;
    /**
     * 对这个奖品最多可以抽中几次
     */
    private Integer drawChancePerCandidate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPrizeType() {
        return prizeType;
    }

    public void setPrizeType(String prizeType) {
        this.prizeType = prizeType;
    }

    public String getPrizeDetail() {
        return prizeDetail;
    }

    public void setPrizeDetail(String prizeDetail) {
        this.prizeDetail = prizeDetail;
    }

    public Double getProbability() {
        return probability;
    }

    public void setProbability(Double probability) {
        this.probability = probability;
    }

    public Integer getDrawChancePerCandidate() {
        return drawChancePerCandidate;
    }

    public void setDrawChancePerCandidate(Integer drawChancePerCandidate) {
        this.drawChancePerCandidate = drawChancePerCandidate;
    }
}
